@function rem($px){
  @return $px/37.5#{rem};
}
*{
  margin: 0;
  padding: 0;
  user-select: none;
}
body{
  background: #cdcdcd;
}
@media all and (min-width:620px) {
  .container {
    margin: 0 auto;
    height: 100vh;
    width: 100vw;
    background: #cdcdcd;
    .pg_hd {
      width: 100vw;
      padding: 0;
      line-height: 50px;
      background: #323232;
      font-size: 20px;
      color: #ffffff;
      .form{
        width: 620px;
        margin: 0 auto;
        position: relative;
      label {
        vertical-align: middle;
      }
      input {
        width: 363px;
        border-radius: rem(5);
        line-height: 28px;
        border: none;
        vertical-align: middle;
        outline: none;
        padding-left: rem(10);
        box-sizing: border-box;
        font-size: 16px;
        position: absolute;
        right: 0;
        top: 13px;
      }
     }
    }
    .pg_bd {
      padding: 0;
      width: 620px;
      margin: 0 auto;
      h2 {
        font-size: 24px;
        font-weight: 600;
        margin: rem(20) 0;
        position: relative;
        span {
          display: inline-block;
          border-radius: 50%;
          background: #e6e6fa;
          font-size: 20px;
          width: 22px;
          text-align: center;
          color: #666666;
          position: absolute;
          right: 0;
        }
      }
      .pg_bd-list {
        .pg_bd-item {
          list-style: none;
          //width: rem(350);
          border-left: 5px solid #629a9c;
          border-radius: 3px;
          background: #ffffff;
          line-height: 34px;
          margin-right: 9px;
          margin-bottom: 10px;
          position: relative;
          width: 620px;
          .radioBtn {
            display: inline-block;
            border-radius: 2px;
            width: 22px;
            height: 22px;
            line-height: 30px;
            border: 1px solid #cccccc;
            margin: 5px 12px 5px 15px;
            vertical-align: middle;
            background: #eeeeee;
          }
          p {
            display: inline-block;
            vertical-align: middle;
            font-size: 16px;
          }
          .del {
            display: inline-block;
            border-radius: 50%;
            width: 22px;
            height: 20px;
            margin: 6px 10px 6px 0;
            vertical-align: middle;
            border: 2px solid #cdcdcd;
            text-align: center;
            position: absolute;
            right: 0;
            background: #fff;
            i {
              display: inline-block;
              width: 17px;
              height: 16px;
              border-radius: 50%;
              background: #cdcdcd;
              top: 2px;
              left: 3px;
              position: absolute;
              color: #fff;
              &:before {
                content: ' ';
                display: inline-block;
                width: 8px;
                height: 3px;
                background: #fff;
                vertical-align: middle;
                margin-top: -14px;
              }

            }
          }
        }
      }
      .pg_bd-list2 {
        opacity: 0.5;
        .pg_bd-item {
          .radioBtn {
            text-align: center;
            &:before {
              content: ' ';
              display: inline-block;
              width: 16px;
              height: 16px;
              background: url(img/ok.png);
            }
          }
        }
      }
    }
    .pg_ft {
      text-align: center;
      color: #666666;
      width: 620px;
      margin: rem(20) auto;
      a {
        text-decoration: none;
        color: #939393;
      }
    }
  }
}
@media all and (max-width:620px) {
  .container {
    width: rem(375);
    height: 100vh;
    background: #cdcdcd;
    .pg_hd {
      line-height: 50px;
      background: #323232;
      font-size: 20px;
      color: #ffffff;
      padding: 0 rem(9) 0 rem(10);
      box-sizing: border-box;
      label {
        vertical-align: middle;
        margin-right: rem(45);
      }
      input {
        width: rem(218);
        border-radius: rem(5);
        line-height: 28px;
        border: none;
        vertical-align: middle;
        outline: none;
        padding-left: rem(10);
        box-sizing: border-box;
        font-size: 16px;
      }
    }
    .pg_bd {
      padding: 0 rem(9) 0 rem(10);
      box-sizing: border-box;
      h2 {
        font-size: 24px;
        font-weight: 600;
        margin: rem(20) 0;
        span {
          display: inline-block;
          border-radius: 50%;
          background: #e6e6fa;
          font-size: 20px;
          width: 22px;
          text-align: center;
          margin-left: rem(230);
          color: #666666;
        }
      }
      .pg_bd-list {
        .pg_bd-item {
          list-style: none;
          width: rem(350);
          border-left: 5px solid #629a9c;
          border-radius: 3px;
          background: #ffffff;
          line-height: 34px;
          margin-right: 9px;
          margin-bottom: 10px;
          .radioBtn {
            display: inline-block;
            border-radius: 2px;
            width: 22px;
            height: 22px;
            line-height: 30px;
            border: 1px solid #cccccc;
            margin: 5px 12px 5px 15px;
            vertical-align: middle;
            background: #eeeeee;
          }
          p {
            display: inline-block;
            vertical-align: middle;
            font-size: 16px;
          }
          .del {
            display: inline-block;
            float: right;
            border-radius: 50%;
            width: 23px;
            height: 20px;
            margin: 6px 10px 6px 0;
            vertical-align: middle;
            border: 2px solid #cdcdcd;
            text-align: center;
            position: relative;
            background: #fff;
            i {
              display: inline-block;
              width: 17px;
              height: 16px;
              border-radius: 50%;
              background: #cdcdcd;
              top: 2px;
              left: 3px;
              position: absolute;
              color: #fff;
              &:before {
                content: ' ';
                display: inline-block;
                width: 8px;
                height: 3px;
                background: #fff;
                vertical-align: middle;
                margin-top: -14px;
              }

            }
          }
        }
      }
      .pg_bd-list2 {
        opacity: 0.5;
        .pg_bd-item {
          .radioBtn {
            text-align: center;
            &:before {
              content: ' ';
              display: inline-block;
              width: 16px;
              height: 16px;
              background: url(img/ok.png);
            }
          }
        }
      }
    }
    .pg_ft {
      text-align: center;
      color: #666666;
      margin-top: 20px;
      a {
        text-decoration: none;
        color: #939393;
      }
    }
  }
}
